package com.adinnet.admin;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
@MapperScan("com.adinnet.admin.*.mapper")
@ComponentScan(basePackages = {"com.adinnet"})
@Slf4j
public class AdinnetAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdinnetAdminApplication.class, args);
        log.info("----------------------启动成功 start success----------------------");

    }
}
